You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(h5): report actual Audio playback position - #19708
The change fixes H5 Audio timeupdate events so they report the actual playback position instead of the total duration. It is a small, localized fix with a regression test, and no merge-blocking risk was identified.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #19707
这个 PR 做了什么?
Audio timeupdate 把 duration 同时用于 currentTime,120 秒音频播放到 12 秒时仍上报 120。
读取实际 currentTime,并补组件进度回归。
这个 PR 是什么类型?
这个 PR 涉及以下平台:
Summary by CodeRabbit
验证结果
Stencil spec 全套 127 项测试、35 个快照通过。